Tegra: implement per-SoC validate_power_state() handler
authorVarun Wadekar <[email protected]>
Thu, 23 Jul 2015 04:37:54 +0000 (10:07 +0530)
committerVarun Wadekar <[email protected]>
Fri, 24 Jul 2015 03:38:27 +0000 (09:08 +0530)
commit93eafbcad46b83bb0db3b86b1508f08efce25519
tree2019de1ff4cfa73e2458d1deae26404ef82ed15f
parentfb11a62fede3d76506ba353f93264569e711cf74
Tegra: implement per-SoC validate_power_state() handler

The validate_power_state() handler checks the power_state for a valid afflvl
and state id. Although the afflvl check is common, the state ids are implementation
defined.

This patch moves the handler to the tegra/soc folder to allow each SoC to validate
the power_state for supported parameters.

Signed-off-by: Varun Wadekar <[email protected]>
plat/nvidia/tegra/common/tegra_pm.c
plat/nvidia/tegra/include/tegra_private.h
plat/nvidia/tegra/soc/t210/plat_psci_handlers.c